{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "people = {\n",
    "    \"first\": [\"Corey\", 'Jane', 'John'], \n",
    "    \"last\": [\"Schafer\", 'Doe', 'Doe'], \n",
    "    \"email\": [\"CoreyMSchafer@gmail.com\", 'JaneDoe@email.com', 'JohnDoe@email.com']\n",
    "}\n",
    "\n",
    "df = pd.DataFrame(people)\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by='last')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by='last',ascending=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "2   John      Doe        JohnDoe@email.com\n",
       "1   Jane      Doe        JaneDoe@email.com"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by=['last','first'],ascending=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "people = {\n",
    "    \"first\": [\"Corey\", 'Jane', 'John','Adam'], \n",
    "    \"last\": [\"Schafer\", 'Doe', 'Doe','Doe'], \n",
    "    \"email\": [\"CoreyMSchafer@gmail.com\", 'JaneDoe@email.com', 'JohnDoe@email.com','A@email.com']\n",
    "}\n",
    "df = pd.DataFrame(people)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Adam</td>\n",
       "      <td>Doe</td>\n",
       "      <td>A@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "2   John      Doe        JohnDoe@email.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "3   Adam      Doe              A@email.com"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by=['last','first'],ascending=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Adam</td>\n",
       "      <td>Doe</td>\n",
       "      <td>A@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "3   Adam      Doe              A@email.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by=['last','first'],ascending=[False,True])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Adam</td>\n",
       "      <td>Doe</td>\n",
       "      <td>A@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "3   Adam      Doe              A@email.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by=['last','first'],ascending=[False,True],inplace=True)\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>email</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>Corey</td>\n",
       "      <td>Schafer</td>\n",
       "      <td>CoreyMSchafer@gmail.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Jane</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JaneDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>John</td>\n",
       "      <td>Doe</td>\n",
       "      <td>JohnDoe@email.com</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Adam</td>\n",
       "      <td>Doe</td>\n",
       "      <td>A@email.com</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   first     last                    email\n",
       "0  Corey  Schafer  CoreyMSchafer@gmail.com\n",
       "1   Jane      Doe        JaneDoe@email.com\n",
       "2   John      Doe        JohnDoe@email.com\n",
       "3   Adam      Doe              A@email.com"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_index()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "3        Doe\n",
       "1        Doe\n",
       "2        Doe\n",
       "0    Schafer\n",
       "Name: last, dtype: object"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['last'].sort_values()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "df = pd.read_csv('survey_results_public.csv', index_col='Respondent')\n",
    "schema_df = pd.read_csv('survey_results_schema.csv', index_col='Column')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": [
    "pd.set_option('display.max_columns', 85)\n",
    "pd.set_option('display.max_rows', 85)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Hobby</th>\n",
       "      <th>OpenSource</th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "      <th>Employment</th>\n",
       "      <th>FormalEducation</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>CompanySize</th>\n",
       "      <th>DevType</th>\n",
       "      <th>YearsCoding</th>\n",
       "      <th>YearsCodingProf</th>\n",
       "      <th>JobSatisfaction</th>\n",
       "      <th>CareerSatisfaction</th>\n",
       "      <th>HopeFiveYears</th>\n",
       "      <th>JobSearchStatus</th>\n",
       "      <th>LastNewJob</th>\n",
       "      <th>AssessJob1</th>\n",
       "      <th>AssessJob2</th>\n",
       "      <th>AssessJob3</th>\n",
       "      <th>AssessJob4</th>\n",
       "      <th>AssessJob5</th>\n",
       "      <th>AssessJob6</th>\n",
       "      <th>AssessJob7</th>\n",
       "      <th>AssessJob8</th>\n",
       "      <th>AssessJob9</th>\n",
       "      <th>AssessJob10</th>\n",
       "      <th>AssessBenefits1</th>\n",
       "      <th>AssessBenefits2</th>\n",
       "      <th>AssessBenefits3</th>\n",
       "      <th>AssessBenefits4</th>\n",
       "      <th>AssessBenefits5</th>\n",
       "      <th>AssessBenefits6</th>\n",
       "      <th>AssessBenefits7</th>\n",
       "      <th>AssessBenefits8</th>\n",
       "      <th>AssessBenefits9</th>\n",
       "      <th>AssessBenefits10</th>\n",
       "      <th>AssessBenefits11</th>\n",
       "      <th>JobContactPriorities1</th>\n",
       "      <th>JobContactPriorities2</th>\n",
       "      <th>JobContactPriorities3</th>\n",
       "      <th>JobContactPriorities4</th>\n",
       "      <th>JobContactPriorities5</th>\n",
       "      <th>...</th>\n",
       "      <th>AdsPriorities2</th>\n",
       "      <th>AdsPriorities3</th>\n",
       "      <th>AdsPriorities4</th>\n",
       "      <th>AdsPriorities5</th>\n",
       "      <th>AdsPriorities6</th>\n",
       "      <th>AdsPriorities7</th>\n",
       "      <th>AIDangerous</th>\n",
       "      <th>AIInteresting</th>\n",
       "      <th>AIResponsible</th>\n",
       "      <th>AIFuture</th>\n",
       "      <th>EthicsChoice</th>\n",
       "      <th>EthicsReport</th>\n",
       "      <th>EthicsResponsible</th>\n",
       "      <th>EthicalImplications</th>\n",
       "      <th>StackOverflowRecommend</th>\n",
       "      <th>StackOverflowVisit</th>\n",
       "      <th>StackOverflowHasAccount</th>\n",
       "      <th>StackOverflowParticipate</th>\n",
       "      <th>StackOverflowJobs</th>\n",
       "      <th>StackOverflowDevStory</th>\n",
       "      <th>StackOverflowJobsRecommend</th>\n",
       "      <th>StackOverflowConsiderMember</th>\n",
       "      <th>HypotheticalTools1</th>\n",
       "      <th>HypotheticalTools2</th>\n",
       "      <th>HypotheticalTools3</th>\n",
       "      <th>HypotheticalTools4</th>\n",
       "      <th>HypotheticalTools5</th>\n",
       "      <th>WakeTime</th>\n",
       "      <th>HoursComputer</th>\n",
       "      <th>HoursOutside</th>\n",
       "      <th>SkipMeals</th>\n",
       "      <th>ErgonomicDevices</th>\n",
       "      <th>Exercise</th>\n",
       "      <th>Gender</th>\n",
       "      <th>SexualOrientation</th>\n",
       "      <th>EducationParents</th>\n",
       "      <th>RaceEthnicity</th>\n",
       "      <th>Age</th>\n",
       "      <th>Dependents</th>\n",
       "      <th>MilitaryUS</th>\n",
       "      <th>SurveyTooLong</th>\n",
       "      <th>SurveyEasy</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Kenya</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Mathematics or statistics</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Full-stack developer</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 5:00 - 6:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>Standing desk</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Black or of African descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>A natural science (ex. biology, chemistry, phy...</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Database administrator;DevOps specialist;Full-...</td>\n",
       "      <td>30 or more years</td>\n",
       "      <td>18-20 years</td>\n",
       "      <td>Moderately dissatisfied</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>7</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Associate degree</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Engineering manager;Full-stack developer</td>\n",
       "      <td>24-26 years</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>5</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>United States</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>Full-stack developer</td>\n",
       "      <td>18-20 years</td>\n",
       "      <td>12-14 years</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I don't care about it, or I haven't thought ab...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>8</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>Less than 30 minutes</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>7</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>South Africa</td>\n",
       "      <td>Yes, part-time</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>10,000 or more employees</td>\n",
       "      <td>Data or business analyst;Desktop or enterprise...</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 1 and 2 years ago</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Before 5:00 AM</td>\n",
       "      <td>Over 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 128 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Hobby OpenSource         Country         Student  \\\n",
       "Respondent                                                    \n",
       "1            Yes         No           Kenya              No   \n",
       "3            Yes        Yes  United Kingdom              No   \n",
       "4            Yes        Yes   United States              No   \n",
       "5             No         No   United States              No   \n",
       "7            Yes         No    South Africa  Yes, part-time   \n",
       "\n",
       "                    Employment  \\\n",
       "Respondent                       \n",
       "1           Employed part-time   \n",
       "3           Employed full-time   \n",
       "4           Employed full-time   \n",
       "5           Employed full-time   \n",
       "7           Employed full-time   \n",
       "\n",
       "                                              FormalEducation  \\\n",
       "Respondent                                                      \n",
       "1                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "3                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "4                                            Associate degree   \n",
       "5                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "7           Some college/university study without earning ...   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "1                                   Mathematics or statistics   \n",
       "3           A natural science (ex. biology, chemistry, phy...   \n",
       "4           Computer science, computer engineering, or sof...   \n",
       "5           Computer science, computer engineering, or sof...   \n",
       "7           Computer science, computer engineering, or sof...   \n",
       "\n",
       "                         CompanySize  \\\n",
       "Respondent                             \n",
       "1                 20 to 99 employees   \n",
       "3           10,000 or more employees   \n",
       "4                 20 to 99 employees   \n",
       "5               100 to 499 employees   \n",
       "7           10,000 or more employees   \n",
       "\n",
       "                                                      DevType  \\\n",
       "Respondent                                                      \n",
       "1                                        Full-stack developer   \n",
       "3           Database administrator;DevOps specialist;Full-...   \n",
       "4                    Engineering manager;Full-stack developer   \n",
       "5                                        Full-stack developer   \n",
       "7           Data or business analyst;Desktop or enterprise...   \n",
       "\n",
       "                 YearsCoding YearsCodingProf  \\\n",
       "Respondent                                     \n",
       "1                  3-5 years       3-5 years   \n",
       "3           30 or more years     18-20 years   \n",
       "4                24-26 years       6-8 years   \n",
       "5                18-20 years     12-14 years   \n",
       "7                  6-8 years       0-2 years   \n",
       "\n",
       "                               JobSatisfaction  \\\n",
       "Respondent                                       \n",
       "1                          Extremely satisfied   \n",
       "3                      Moderately dissatisfied   \n",
       "4                         Moderately satisfied   \n",
       "5           Neither satisfied nor dissatisfied   \n",
       "7                           Slightly satisfied   \n",
       "\n",
       "                            CareerSatisfaction  \\\n",
       "Respondent                                       \n",
       "1                          Extremely satisfied   \n",
       "3           Neither satisfied nor dissatisfied   \n",
       "4                         Moderately satisfied   \n",
       "5                        Slightly dissatisfied   \n",
       "7                         Moderately satisfied   \n",
       "\n",
       "                                                HopeFiveYears  \\\n",
       "Respondent                                                      \n",
       "1           Working as a founder or co-founder of my own c...   \n",
       "3           Working in a different or more specialized tec...   \n",
       "4           Working as a founder or co-founder of my own c...   \n",
       "5           Working as a founder or co-founder of my own c...   \n",
       "7           Working in a different or more specialized tec...   \n",
       "\n",
       "                                              JobSearchStatus  \\\n",
       "Respondent                                                      \n",
       "1           I’m not actively looking, but I am open to new...   \n",
       "3                             I am actively looking for a job   \n",
       "4           I’m not actively looking, but I am open to new...   \n",
       "5           I’m not actively looking, but I am open to new...   \n",
       "7           I’m not actively looking, but I am open to new...   \n",
       "\n",
       "                           LastNewJob  AssessJob1  AssessJob2  AssessJob3  \\\n",
       "Respondent                                                                  \n",
       "1                Less than a year ago        10.0         7.0         8.0   \n",
       "3               More than 4 years ago         1.0         7.0        10.0   \n",
       "4                Less than a year ago         NaN         NaN         NaN   \n",
       "5                Less than a year ago         NaN         NaN         NaN   \n",
       "7           Between 1 and 2 years ago         8.0         5.0         7.0   \n",
       "\n",
       "            AssessJob4  AssessJob5  AssessJob6  AssessJob7  AssessJob8  \\\n",
       "Respondent                                                               \n",
       "1                  1.0         2.0         5.0         3.0         4.0   \n",
       "3                  8.0         2.0         5.0         4.0         3.0   \n",
       "4                  NaN         NaN         NaN         NaN         NaN   \n",
       "5                  NaN         NaN         NaN         NaN         NaN   \n",
       "7                  1.0         2.0         6.0         4.0         3.0   \n",
       "\n",
       "            AssessJob9  AssessJob10  AssessBenefits1  AssessBenefits2  \\\n",
       "Respondent                                                              \n",
       "1                  9.0          6.0              NaN              NaN   \n",
       "3                  6.0          9.0              1.0              5.0   \n",
       "4                  NaN          NaN              NaN              NaN   \n",
       "5                  NaN          NaN              NaN              NaN   \n",
       "7                 10.0          9.0              1.0             10.0   \n",
       "\n",
       "            AssessBenefits3  AssessBenefits4  AssessBenefits5  \\\n",
       "Respondent                                                      \n",
       "1                       NaN              NaN              NaN   \n",
       "3                       3.0              7.0             10.0   \n",
       "4                       NaN              NaN              NaN   \n",
       "5                       NaN              NaN              NaN   \n",
       "7                       2.0              4.0              8.0   \n",
       "\n",
       "            AssessBenefits6  AssessBenefits7  AssessBenefits8  \\\n",
       "Respondent                                                      \n",
       "1                       NaN              NaN              NaN   \n",
       "3                       4.0             11.0              9.0   \n",
       "4                       NaN              NaN              NaN   \n",
       "5                       NaN              NaN              NaN   \n",
       "7                       3.0             11.0              7.0   \n",
       "\n",
       "            AssessBenefits9  AssessBenefits10  AssessBenefits11  \\\n",
       "Respondent                                                        \n",
       "1                       NaN               NaN               NaN   \n",
       "3                       6.0               2.0               8.0   \n",
       "4                       NaN               NaN               NaN   \n",
       "5                       NaN               NaN               NaN   \n",
       "7                       5.0               9.0               6.0   \n",
       "\n",
       "            JobContactPriorities1  JobContactPriorities2  \\\n",
       "Respondent                                                 \n",
       "1                             3.0                    1.0   \n",
       "3                             3.0                    1.0   \n",
       "4                             NaN                    NaN   \n",
       "5                             NaN                    NaN   \n",
       "7                             2.0                    1.0   \n",
       "\n",
       "            JobContactPriorities3  JobContactPriorities4  \\\n",
       "Respondent                                                 \n",
       "1                             4.0                    2.0   \n",
       "3                             5.0                    2.0   \n",
       "4                             NaN                    NaN   \n",
       "5                             NaN                    NaN   \n",
       "7                             4.0                    5.0   \n",
       "\n",
       "            JobContactPriorities5  ...  AdsPriorities2  AdsPriorities3  \\\n",
       "Respondent                         ...                                   \n",
       "1                             5.0  ...             5.0             4.0   \n",
       "3                             4.0  ...             5.0             1.0   \n",
       "4                             NaN  ...             NaN             NaN   \n",
       "5                             NaN  ...             NaN             NaN   \n",
       "7                             3.0  ...             3.0             4.0   \n",
       "\n",
       "            AdsPriorities4  AdsPriorities5  AdsPriorities6  AdsPriorities7  \\\n",
       "Respondent                                                                   \n",
       "1                      7.0             2.0             6.0             3.0   \n",
       "3                      4.0             6.0             7.0             2.0   \n",
       "4                      NaN             NaN             NaN             NaN   \n",
       "5                      NaN             NaN             NaN             NaN   \n",
       "7                      6.0             1.0             7.0             5.0   \n",
       "\n",
       "                                                  AIDangerous  \\\n",
       "Respondent                                                      \n",
       "1           Artificial intelligence surpassing human intel...   \n",
       "3                               Increasing automation of jobs   \n",
       "4                                                         NaN   \n",
       "5           Artificial intelligence surpassing human intel...   \n",
       "7                       Algorithms making important decisions   \n",
       "\n",
       "                                                AIInteresting  \\\n",
       "Respondent                                                      \n",
       "1                       Algorithms making important decisions   \n",
       "3                               Increasing automation of jobs   \n",
       "4                                                         NaN   \n",
       "5           Artificial intelligence surpassing human intel...   \n",
       "7                       Algorithms making important decisions   \n",
       "\n",
       "                                           AIResponsible  \\\n",
       "Respondent                                                 \n",
       "1           The developers or the people creating the AI   \n",
       "3           The developers or the people creating the AI   \n",
       "4                                                    NaN   \n",
       "5                A governmental or other regulatory body   \n",
       "7           The developers or the people creating the AI   \n",
       "\n",
       "                                                     AIFuture  \\\n",
       "Respondent                                                      \n",
       "1           I'm excited about the possibilities more than ...   \n",
       "3           I'm excited about the possibilities more than ...   \n",
       "4                                                         NaN   \n",
       "5           I don't care about it, or I haven't thought ab...   \n",
       "7           I'm excited about the possibilities more than ...   \n",
       "\n",
       "                     EthicsChoice                      EthicsReport  \\\n",
       "Respondent                                                            \n",
       "1                              No                 Yes, and publicly   \n",
       "3           Depends on what it is             Depends on what it is   \n",
       "4                             NaN                               NaN   \n",
       "5                              No  Yes, but only within the company   \n",
       "7                              No  Yes, but only within the company   \n",
       "\n",
       "                                       EthicsResponsible EthicalImplications  \\\n",
       "Respondent                                                                     \n",
       "1           Upper management at the company/organization                 Yes   \n",
       "3           Upper management at the company/organization                 Yes   \n",
       "4                                                    NaN                 NaN   \n",
       "5           Upper management at the company/organization                 Yes   \n",
       "7           Upper management at the company/organization                 Yes   \n",
       "\n",
       "           StackOverflowRecommend               StackOverflowVisit  \\\n",
       "Respondent                                                           \n",
       "1                10 (Very Likely)           Multiple times per day   \n",
       "3                10 (Very Likely)  A few times per month or weekly   \n",
       "4                             NaN                              NaN   \n",
       "5                10 (Very Likely)             A few times per week   \n",
       "7                10 (Very Likely)            Daily or almost daily   \n",
       "\n",
       "           StackOverflowHasAccount  \\\n",
       "Respondent                           \n",
       "1                              Yes   \n",
       "3                              Yes   \n",
       "4                              NaN   \n",
       "5                              Yes   \n",
       "7                              Yes   \n",
       "\n",
       "                                     StackOverflowParticipate  \\\n",
       "Respondent                                                      \n",
       "1           I have never participated in Q&A on Stack Over...   \n",
       "3                             A few times per month or weekly   \n",
       "4                                                         NaN   \n",
       "5                             A few times per month or weekly   \n",
       "7                         Less than once per month or monthly   \n",
       "\n",
       "                                            StackOverflowJobs  \\\n",
       "Respondent                                                      \n",
       "1           No, I knew that Stack Overflow had a jobs boar...   \n",
       "3                                                         Yes   \n",
       "4                                                         NaN   \n",
       "5                                                         Yes   \n",
       "7           No, I knew that Stack Overflow had a jobs boar...   \n",
       "\n",
       "                                 StackOverflowDevStory  \\\n",
       "Respondent                                               \n",
       "1                                                  Yes   \n",
       "3                  No, I have one but it's out of date   \n",
       "4                                                  NaN   \n",
       "5                  No, I have one but it's out of date   \n",
       "7           No, I know what it is but I don't have one   \n",
       "\n",
       "           StackOverflowJobsRecommend StackOverflowConsiderMember  \\\n",
       "Respondent                                                          \n",
       "1                                 NaN                         Yes   \n",
       "3                                   7                         Yes   \n",
       "4                                 NaN                         NaN   \n",
       "5                                   8                         Yes   \n",
       "7                                 NaN                         Yes   \n",
       "\n",
       "                 HypotheticalTools1       HypotheticalTools2  \\\n",
       "Respondent                                                     \n",
       "1              Extremely interested     Extremely interested   \n",
       "3           A little bit interested  A little bit interested   \n",
       "4                               NaN                      NaN   \n",
       "5               Somewhat interested      Somewhat interested   \n",
       "7              Extremely interested     Extremely interested   \n",
       "\n",
       "                 HypotheticalTools3       HypotheticalTools4  \\\n",
       "Respondent                                                     \n",
       "1              Extremely interested     Extremely interested   \n",
       "3           A little bit interested  A little bit interested   \n",
       "4                               NaN                      NaN   \n",
       "5               Somewhat interested      Somewhat interested   \n",
       "7              Extremely interested     Extremely interested   \n",
       "\n",
       "                 HypotheticalTools5                WakeTime  HoursComputer  \\\n",
       "Respondent                                                                   \n",
       "1              Extremely interested  Between 5:00 - 6:00 AM   9 - 12 hours   \n",
       "3           A little bit interested  Between 6:01 - 7:00 AM    5 - 8 hours   \n",
       "4                               NaN                     NaN            NaN   \n",
       "5               Somewhat interested  Between 6:01 - 7:00 AM   9 - 12 hours   \n",
       "7              Extremely interested          Before 5:00 AM  Over 12 hours   \n",
       "\n",
       "                    HoursOutside             SkipMeals  \\\n",
       "Respondent                                               \n",
       "1                    1 - 2 hours                 Never   \n",
       "3                30 - 59 minutes                 Never   \n",
       "4                            NaN                   NaN   \n",
       "5           Less than 30 minutes  3 - 4 times per week   \n",
       "7                    1 - 2 hours                 Never   \n",
       "\n",
       "                       ErgonomicDevices                    Exercise Gender  \\\n",
       "Respondent                                                                   \n",
       "1                         Standing desk        3 - 4 times per week   Male   \n",
       "3           Ergonomic keyboard or mouse   Daily or almost every day   Male   \n",
       "4                                   NaN                         NaN    NaN   \n",
       "5                                   NaN  I don't typically exercise   Male   \n",
       "7                                   NaN        3 - 4 times per week   Male   \n",
       "\n",
       "                   SexualOrientation  \\\n",
       "Respondent                             \n",
       "1           Straight or heterosexual   \n",
       "3           Straight or heterosexual   \n",
       "4                                NaN   \n",
       "5           Straight or heterosexual   \n",
       "7           Straight or heterosexual   \n",
       "\n",
       "                                             EducationParents  \\\n",
       "Respondent                                                      \n",
       "1                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "3                    Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "4                                                         NaN   \n",
       "5           Some college/university study without earning ...   \n",
       "7           Some college/university study without earning ...   \n",
       "\n",
       "                           RaceEthnicity                Age Dependents  \\\n",
       "Respondent                                                               \n",
       "1            Black or of African descent  25 - 34 years old        Yes   \n",
       "3           White or of European descent  35 - 44 years old        Yes   \n",
       "4                                    NaN                NaN        NaN   \n",
       "5           White or of European descent  35 - 44 years old         No   \n",
       "7           White or of European descent  18 - 24 years old        Yes   \n",
       "\n",
       "           MilitaryUS                         SurveyTooLong     SurveyEasy  \n",
       "Respondent                                                                  \n",
       "1                 NaN  The survey was an appropriate length      Very easy  \n",
       "3                 NaN  The survey was an appropriate length  Somewhat easy  \n",
       "4                 NaN                                   NaN            NaN  \n",
       "5                  No  The survey was an appropriate length  Somewhat easy  \n",
       "7                 NaN  The survey was an appropriate length  Somewhat easy  \n",
       "\n",
       "[5 rows x 128 columns]"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "31052    Afghanistan\n",
       "97877    Afghanistan\n",
       "7886     Afghanistan\n",
       "22001    Afghanistan\n",
       "82057    Afghanistan\n",
       "Name: Country, dtype: object"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.sort_values(by='Country',inplace=True)\n",
    "df['Country'].head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>31052</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>97877</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>7886</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>22001</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>82057</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                Country         Student\n",
       "Respondent                             \n",
       "31052       Afghanistan             NaN\n",
       "97877       Afghanistan  Yes, full-time\n",
       "7886        Afghanistan  Yes, full-time\n",
       "22001       Afghanistan             NaN\n",
       "82057       Afghanistan              No"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[['Country','Student']].head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "df.sort_values(by=['Country','Student'],ascending=[True,False],inplace=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>15311</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, part-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>59872</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, part-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>47415</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, part-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>97877</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>7886</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, full-time</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                Country         Student\n",
       "Respondent                             \n",
       "15311       Afghanistan  Yes, part-time\n",
       "59872       Afghanistan  Yes, part-time\n",
       "47415       Afghanistan  Yes, part-time\n",
       "97877       Afghanistan  Yes, full-time\n",
       "7886        Afghanistan  Yes, full-time"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[['Country','Student']].head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "88332    11.0\n",
       "73466    11.0\n",
       "71383    11.0\n",
       "86250    11.0\n",
       "72634    11.0\n",
       "40002    11.0\n",
       "75666    11.0\n",
       "34563    11.0\n",
       "55950    11.0\n",
       "54850    11.0\n",
       "Name: AssessBenefits7, dtype: float64"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['AssessBenefits7'].nlargest(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Hobby</th>\n",
       "      <th>OpenSource</th>\n",
       "      <th>Country</th>\n",
       "      <th>Student</th>\n",
       "      <th>Employment</th>\n",
       "      <th>FormalEducation</th>\n",
       "      <th>UndergradMajor</th>\n",
       "      <th>CompanySize</th>\n",
       "      <th>DevType</th>\n",
       "      <th>YearsCoding</th>\n",
       "      <th>YearsCodingProf</th>\n",
       "      <th>JobSatisfaction</th>\n",
       "      <th>CareerSatisfaction</th>\n",
       "      <th>HopeFiveYears</th>\n",
       "      <th>JobSearchStatus</th>\n",
       "      <th>LastNewJob</th>\n",
       "      <th>AssessJob1</th>\n",
       "      <th>AssessJob2</th>\n",
       "      <th>AssessJob3</th>\n",
       "      <th>AssessJob4</th>\n",
       "      <th>AssessJob5</th>\n",
       "      <th>AssessJob6</th>\n",
       "      <th>AssessJob7</th>\n",
       "      <th>AssessJob8</th>\n",
       "      <th>AssessJob9</th>\n",
       "      <th>AssessJob10</th>\n",
       "      <th>AssessBenefits1</th>\n",
       "      <th>AssessBenefits2</th>\n",
       "      <th>AssessBenefits3</th>\n",
       "      <th>AssessBenefits4</th>\n",
       "      <th>AssessBenefits5</th>\n",
       "      <th>AssessBenefits6</th>\n",
       "      <th>AssessBenefits7</th>\n",
       "      <th>AssessBenefits8</th>\n",
       "      <th>AssessBenefits9</th>\n",
       "      <th>AssessBenefits10</th>\n",
       "      <th>AssessBenefits11</th>\n",
       "      <th>JobContactPriorities1</th>\n",
       "      <th>JobContactPriorities2</th>\n",
       "      <th>JobContactPriorities3</th>\n",
       "      <th>JobContactPriorities4</th>\n",
       "      <th>JobContactPriorities5</th>\n",
       "      <th>...</th>\n",
       "      <th>AdsPriorities2</th>\n",
       "      <th>AdsPriorities3</th>\n",
       "      <th>AdsPriorities4</th>\n",
       "      <th>AdsPriorities5</th>\n",
       "      <th>AdsPriorities6</th>\n",
       "      <th>AdsPriorities7</th>\n",
       "      <th>AIDangerous</th>\n",
       "      <th>AIInteresting</th>\n",
       "      <th>AIResponsible</th>\n",
       "      <th>AIFuture</th>\n",
       "      <th>EthicsChoice</th>\n",
       "      <th>EthicsReport</th>\n",
       "      <th>EthicsResponsible</th>\n",
       "      <th>EthicalImplications</th>\n",
       "      <th>StackOverflowRecommend</th>\n",
       "      <th>StackOverflowVisit</th>\n",
       "      <th>StackOverflowHasAccount</th>\n",
       "      <th>StackOverflowParticipate</th>\n",
       "      <th>StackOverflowJobs</th>\n",
       "      <th>StackOverflowDevStory</th>\n",
       "      <th>StackOverflowJobsRecommend</th>\n",
       "      <th>StackOverflowConsiderMember</th>\n",
       "      <th>HypotheticalTools1</th>\n",
       "      <th>HypotheticalTools2</th>\n",
       "      <th>HypotheticalTools3</th>\n",
       "      <th>HypotheticalTools4</th>\n",
       "      <th>HypotheticalTools5</th>\n",
       "      <th>WakeTime</th>\n",
       "      <th>HoursComputer</th>\n",
       "      <th>HoursOutside</th>\n",
       "      <th>SkipMeals</th>\n",
       "      <th>ErgonomicDevices</th>\n",
       "      <th>Exercise</th>\n",
       "      <th>Gender</th>\n",
       "      <th>SexualOrientation</th>\n",
       "      <th>EducationParents</th>\n",
       "      <th>RaceEthnicity</th>\n",
       "      <th>Age</th>\n",
       "      <th>Dependents</th>\n",
       "      <th>MilitaryUS</th>\n",
       "      <th>SurveyTooLong</th>\n",
       "      <th>SurveyEasy</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Respondent</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>88332</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>Another engineering discipline (ex. civil, ele...</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Mobile developer</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>Evolving definitions of \"fairness\" in algorith...</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 8:01 - 9:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>30 - 59 minutes</td>\n",
       "      <td>Never</td>\n",
       "      <td>Fatigue-relieving floor mat;Ergonomic keyboard...</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>East Asian</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>73466</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>No</td>\n",
       "      <td>Independent contractor, freelancer, or self-em...</td>\n",
       "      <td>Other doctoral degree (Ph.D, Ed.D., etc.)</td>\n",
       "      <td>A natural science (ex. biology, chemistry, phy...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Back-end developer;Desktop or enterprise appli...</td>\n",
       "      <td>21-23 years</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Working as an engineering manager or other fun...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>10.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Nobody</td>\n",
       "      <td>I'm worried about the dangers more than I'm ex...</td>\n",
       "      <td>No</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Yes</td>\n",
       "      <td>3</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>No, I knew that Stack Overflow had a jobs boar...</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>I do not have a set schedule</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>3 - 4 hours</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Fatigue-relieving floor mat</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Other doctoral degree (Ph.D, Ed.D., etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>45 - 54 years old</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Neither easy nor difficult</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>71383</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Albania</td>\n",
       "      <td>Yes, part-time</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>20 to 99 employees</td>\n",
       "      <td>Mobile developer</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 2 and 4 years ago</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>The person who came up with the idea</td>\n",
       "      <td>Unsure / I don't know</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Multiple times per day</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Standing desk;Fatigue-relieving floor mat</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Associate degree</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>86250</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Albania</td>\n",
       "      <td>Yes, part-time</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>1,000 to 4,999 employees</td>\n",
       "      <td>Back-end developer;Data or business analyst;De...</td>\n",
       "      <td>9-11 years</td>\n",
       "      <td>9-11 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>More than 4 years ago</td>\n",
       "      <td>10.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, and publicly</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Standing desk;Fatigue-relieving floor mat</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>72634</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Albania</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Fewer than 10 employees</td>\n",
       "      <td>Back-end developer;Data or business analyst;Da...</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Slightly dissatisfied</td>\n",
       "      <td>Working as a founder or co-founder of my own c...</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 6:01 - 7:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>3 - 4 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>40002</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Albania</td>\n",
       "      <td>Yes, full-time</td>\n",
       "      <td>Employed part-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>Fewer than 10 employees</td>\n",
       "      <td>Back-end developer;Full-stack developer</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Doing the same work</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 2 and 4 years ago</td>\n",
       "      <td>8.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>...</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>Artificial intelligence surpassing human intel...</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Yes, but only within the company</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Unsure / I don't know</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I know what it is but I don't have one</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>Over 4 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>Ergonomic keyboard or mouse</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Middle Eastern</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>75666</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Albania</td>\n",
       "      <td>No</td>\n",
       "      <td>Independent contractor, freelancer, or self-em...</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>A business discipline (ex. accounting, finance...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Back-end developer;Front-end developer;Marketi...</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Extremely satisfied</td>\n",
       "      <td>Doing the same work</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Between 1 and 2 years ago</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>The developers or the people creating the AI</td>\n",
       "      <td>I'm worried about the dangers more than I'm ex...</td>\n",
       "      <td>No</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>A few times per week</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Between 9:01 - 10:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>3 - 4 hours</td>\n",
       "      <td>1 - 2 times per week</td>\n",
       "      <td>Standing desk</td>\n",
       "      <td>Daily or almost every day</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Some college/university study without earning ...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>35 - 44 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Very easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>34563</td>\n",
       "      <td>No</td>\n",
       "      <td>No</td>\n",
       "      <td>Albania</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>100 to 499 employees</td>\n",
       "      <td>Back-end developer;Front-end developer;Full-st...</td>\n",
       "      <td>6-8 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Neither satisfied nor dissatisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>6.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>Evolving definitions of \"fairness\" in algorith...</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm excited about the possibilities more than ...</td>\n",
       "      <td>No</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Unsure / I don't know</td>\n",
       "      <td>10 (Very Likely)</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>6</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>A little bit interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>9 - 12 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Secondary school (e.g. American high school, G...</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>55950</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Albania</td>\n",
       "      <td>No</td>\n",
       "      <td>Employed full-time</td>\n",
       "      <td>Bachelor’s degree (BA, BS, B.Eng., etc.)</td>\n",
       "      <td>Information systems, information technology, o...</td>\n",
       "      <td>Fewer than 10 employees</td>\n",
       "      <td>Back-end developer;C-suite executive (CEO, CTO...</td>\n",
       "      <td>9-11 years</td>\n",
       "      <td>3-5 years</td>\n",
       "      <td>Moderately satisfied</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Working in a different or more specialized tec...</td>\n",
       "      <td>I’m not actively looking, but I am open to new...</td>\n",
       "      <td>Less than a year ago</td>\n",
       "      <td>9.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>Algorithms making important decisions</td>\n",
       "      <td>Increasing automation of jobs</td>\n",
       "      <td>A governmental or other regulatory body</td>\n",
       "      <td>I'm worried about the dangers more than I'm ex...</td>\n",
       "      <td>No</td>\n",
       "      <td>Depends on what it is</td>\n",
       "      <td>Upper management at the company/organization</td>\n",
       "      <td>Yes</td>\n",
       "      <td>6</td>\n",
       "      <td>A few times per month or weekly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Less than once per month or monthly</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No, I have one but it's out of date</td>\n",
       "      <td>7</td>\n",
       "      <td>I'm not sure</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Somewhat interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Extremely interested</td>\n",
       "      <td>Between 8:01 - 9:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>NaN</td>\n",
       "      <td>I don't typically exercise</td>\n",
       "      <td>Male</td>\n",
       "      <td>Straight or heterosexual</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>18 - 24 years old</td>\n",
       "      <td>No</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was an appropriate length</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>54850</td>\n",
       "      <td>Yes</td>\n",
       "      <td>No</td>\n",
       "      <td>Albania</td>\n",
       "      <td>No</td>\n",
       "      <td>Independent contractor, freelancer, or self-em...</td>\n",
       "      <td>Master’s degree (MA, MS, M.Eng., MBA, etc.)</td>\n",
       "      <td>Computer science, computer engineering, or sof...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Desktop or enterprise applications developer</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>0-2 years</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Slightly satisfied</td>\n",
       "      <td>Doing the same work</td>\n",
       "      <td>I am actively looking for a job</td>\n",
       "      <td>Between 1 and 2 years ago</td>\n",
       "      <td>1.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>7.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>5.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>Daily or almost daily</td>\n",
       "      <td>Yes</td>\n",
       "      <td>I have never participated in Q&amp;A on Stack Over...</td>\n",
       "      <td>No, I didn't know that Stack Overflow had a jo...</td>\n",
       "      <td>No, and I don't know what that is</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Not at all interested</td>\n",
       "      <td>Very interested</td>\n",
       "      <td>Between 7:01 - 8:00 AM</td>\n",
       "      <td>5 - 8 hours</td>\n",
       "      <td>1 - 2 hours</td>\n",
       "      <td>Never</td>\n",
       "      <td>Standing desk</td>\n",
       "      <td>3 - 4 times per week</td>\n",
       "      <td>Male</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Professional degree (JD, MD, etc.)</td>\n",
       "      <td>White or of European descent</td>\n",
       "      <td>25 - 34 years old</td>\n",
       "      <td>Yes</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The survey was too long</td>\n",
       "      <td>Somewhat easy</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>10 rows × 128 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Hobby OpenSource      Country         Student  \\\n",
       "Respondent                                                 \n",
       "88332        Yes         No  Afghanistan  Yes, full-time   \n",
       "73466         No        Yes  Afghanistan              No   \n",
       "71383         No         No      Albania  Yes, part-time   \n",
       "86250        Yes        Yes      Albania  Yes, part-time   \n",
       "72634        Yes         No      Albania  Yes, full-time   \n",
       "40002        Yes        Yes      Albania  Yes, full-time   \n",
       "75666        Yes        Yes      Albania              No   \n",
       "34563         No         No      Albania              No   \n",
       "55950        Yes        Yes      Albania              No   \n",
       "54850        Yes         No      Albania              No   \n",
       "\n",
       "                                                   Employment  \\\n",
       "Respondent                                                      \n",
       "88332                                      Employed full-time   \n",
       "73466       Independent contractor, freelancer, or self-em...   \n",
       "71383                                      Employed full-time   \n",
       "86250                                      Employed full-time   \n",
       "72634                                      Employed part-time   \n",
       "40002                                      Employed part-time   \n",
       "75666       Independent contractor, freelancer, or self-em...   \n",
       "34563                                      Employed full-time   \n",
       "55950                                      Employed full-time   \n",
       "54850       Independent contractor, freelancer, or self-em...   \n",
       "\n",
       "                                        FormalEducation  \\\n",
       "Respondent                                                \n",
       "88332       Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "73466         Other doctoral degree (Ph.D, Ed.D., etc.)   \n",
       "71383       Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "86250       Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "72634          Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "40002          Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "75666       Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "34563          Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "55950          Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "54850       Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "\n",
       "                                               UndergradMajor  \\\n",
       "Respondent                                                      \n",
       "88332       Another engineering discipline (ex. civil, ele...   \n",
       "73466       A natural science (ex. biology, chemistry, phy...   \n",
       "71383       Computer science, computer engineering, or sof...   \n",
       "86250       Computer science, computer engineering, or sof...   \n",
       "72634                                                     NaN   \n",
       "40002       Computer science, computer engineering, or sof...   \n",
       "75666       A business discipline (ex. accounting, finance...   \n",
       "34563       Computer science, computer engineering, or sof...   \n",
       "55950       Information systems, information technology, o...   \n",
       "54850       Computer science, computer engineering, or sof...   \n",
       "\n",
       "                         CompanySize  \\\n",
       "Respondent                             \n",
       "88332             20 to 99 employees   \n",
       "73466                            NaN   \n",
       "71383             20 to 99 employees   \n",
       "86250       1,000 to 4,999 employees   \n",
       "72634        Fewer than 10 employees   \n",
       "40002        Fewer than 10 employees   \n",
       "75666                            NaN   \n",
       "34563           100 to 499 employees   \n",
       "55950        Fewer than 10 employees   \n",
       "54850                            NaN   \n",
       "\n",
       "                                                      DevType  YearsCoding  \\\n",
       "Respondent                                                                   \n",
       "88332                                        Mobile developer    0-2 years   \n",
       "73466       Back-end developer;Desktop or enterprise appli...  21-23 years   \n",
       "71383                                        Mobile developer    6-8 years   \n",
       "86250       Back-end developer;Data or business analyst;De...   9-11 years   \n",
       "72634       Back-end developer;Data or business analyst;Da...    3-5 years   \n",
       "40002                 Back-end developer;Full-stack developer    3-5 years   \n",
       "75666       Back-end developer;Front-end developer;Marketi...    6-8 years   \n",
       "34563       Back-end developer;Front-end developer;Full-st...    6-8 years   \n",
       "55950       Back-end developer;C-suite executive (CEO, CTO...   9-11 years   \n",
       "54850            Desktop or enterprise applications developer    0-2 years   \n",
       "\n",
       "           YearsCodingProf                     JobSatisfaction  \\\n",
       "Respondent                                                       \n",
       "88332            0-2 years                Moderately satisfied   \n",
       "73466            6-8 years  Neither satisfied nor dissatisfied   \n",
       "71383            3-5 years                Moderately satisfied   \n",
       "86250           9-11 years                Moderately satisfied   \n",
       "72634            0-2 years  Neither satisfied nor dissatisfied   \n",
       "40002            3-5 years                Moderately satisfied   \n",
       "75666            3-5 years                 Extremely satisfied   \n",
       "34563            3-5 years                  Slightly satisfied   \n",
       "55950            3-5 years                Moderately satisfied   \n",
       "54850            0-2 years                                 NaN   \n",
       "\n",
       "                            CareerSatisfaction  \\\n",
       "Respondent                                       \n",
       "88332                     Moderately satisfied   \n",
       "73466       Neither satisfied nor dissatisfied   \n",
       "71383                     Moderately satisfied   \n",
       "86250                     Moderately satisfied   \n",
       "72634                    Slightly dissatisfied   \n",
       "40002                     Moderately satisfied   \n",
       "75666                      Extremely satisfied   \n",
       "34563       Neither satisfied nor dissatisfied   \n",
       "55950                       Slightly satisfied   \n",
       "54850                       Slightly satisfied   \n",
       "\n",
       "                                                HopeFiveYears  \\\n",
       "Respondent                                                      \n",
       "88332       Working in a different or more specialized tec...   \n",
       "73466       Working as an engineering manager or other fun...   \n",
       "71383       Working as a founder or co-founder of my own c...   \n",
       "86250       Working as a founder or co-founder of my own c...   \n",
       "72634       Working as a founder or co-founder of my own c...   \n",
       "40002                                     Doing the same work   \n",
       "75666                                     Doing the same work   \n",
       "34563       Working in a different or more specialized tec...   \n",
       "55950       Working in a different or more specialized tec...   \n",
       "54850                                     Doing the same work   \n",
       "\n",
       "                                              JobSearchStatus  \\\n",
       "Respondent                                                      \n",
       "88332       I’m not actively looking, but I am open to new...   \n",
       "73466       I’m not actively looking, but I am open to new...   \n",
       "71383       I’m not actively looking, but I am open to new...   \n",
       "86250       I’m not actively looking, but I am open to new...   \n",
       "72634                         I am actively looking for a job   \n",
       "40002       I’m not actively looking, but I am open to new...   \n",
       "75666       I’m not actively looking, but I am open to new...   \n",
       "34563                         I am actively looking for a job   \n",
       "55950       I’m not actively looking, but I am open to new...   \n",
       "54850                         I am actively looking for a job   \n",
       "\n",
       "                           LastNewJob  AssessJob1  AssessJob2  AssessJob3  \\\n",
       "Respondent                                                                  \n",
       "88332            Less than a year ago         5.0         3.0         9.0   \n",
       "73466           More than 4 years ago        10.0         6.0         4.0   \n",
       "71383       Between 2 and 4 years ago         4.0         3.0         6.0   \n",
       "86250           More than 4 years ago        10.0         3.0         5.0   \n",
       "72634            Less than a year ago         2.0         6.0         8.0   \n",
       "40002       Between 2 and 4 years ago         8.0         9.0         7.0   \n",
       "75666       Between 1 and 2 years ago         8.0         5.0         6.0   \n",
       "34563            Less than a year ago         6.0         7.0         1.0   \n",
       "55950            Less than a year ago         9.0         5.0        10.0   \n",
       "54850       Between 1 and 2 years ago         1.0         9.0         8.0   \n",
       "\n",
       "            AssessJob4  AssessJob5  AssessJob6  AssessJob7  AssessJob8  \\\n",
       "Respondent                                                               \n",
       "88332              2.0         1.0         4.0        10.0         8.0   \n",
       "73466              8.0         2.0         7.0         1.0         9.0   \n",
       "71383              7.0         9.0         2.0         5.0         1.0   \n",
       "86250              6.0         4.0         8.0         2.0         1.0   \n",
       "72634              5.0         7.0         9.0        10.0         1.0   \n",
       "40002              5.0         6.0         1.0         3.0         4.0   \n",
       "75666              3.0         2.0        10.0         1.0         4.0   \n",
       "34563              2.0         3.0         4.0         8.0         5.0   \n",
       "55950              3.0         4.0         2.0         7.0         8.0   \n",
       "54850              3.0        10.0         6.0         2.0         7.0   \n",
       "\n",
       "            AssessJob9  AssessJob10  AssessBenefits1  AssessBenefits2  \\\n",
       "Respondent                                                              \n",
       "88332              6.0          7.0              1.0              3.0   \n",
       "73466              5.0          3.0              6.0              1.0   \n",
       "71383              8.0         10.0              2.0              7.0   \n",
       "86250              7.0          9.0              1.0              2.0   \n",
       "72634              4.0          3.0              2.0              1.0   \n",
       "40002              2.0         10.0              1.0              2.0   \n",
       "75666              7.0          9.0              6.0             10.0   \n",
       "34563             10.0          9.0              1.0             10.0   \n",
       "55950              1.0          6.0              4.0              6.0   \n",
       "54850              4.0          5.0              2.0              9.0   \n",
       "\n",
       "            AssessBenefits3  AssessBenefits4  AssessBenefits5  \\\n",
       "Respondent                                                      \n",
       "88332                   7.0              6.0              4.0   \n",
       "73466                   3.0              9.0              8.0   \n",
       "71383                   1.0              8.0              5.0   \n",
       "86250                   6.0              5.0              9.0   \n",
       "72634                   4.0             10.0              7.0   \n",
       "40002                   3.0              6.0             10.0   \n",
       "75666                   4.0              2.0              5.0   \n",
       "34563                   3.0              8.0              5.0   \n",
       "55950                   1.0              7.0              2.0   \n",
       "54850                   3.0              5.0              7.0   \n",
       "\n",
       "            AssessBenefits6  AssessBenefits7  AssessBenefits8  \\\n",
       "Respondent                                                      \n",
       "88332                  10.0             11.0              8.0   \n",
       "73466                   7.0             11.0             10.0   \n",
       "71383                   9.0             11.0              4.0   \n",
       "86250                   4.0             11.0              8.0   \n",
       "72634                   5.0             11.0              6.0   \n",
       "40002                   4.0             11.0              9.0   \n",
       "75666                   3.0             11.0              9.0   \n",
       "34563                   7.0             11.0              2.0   \n",
       "55950                  10.0             11.0              3.0   \n",
       "54850                   4.0             11.0              1.0   \n",
       "\n",
       "            AssessBenefits9  AssessBenefits10  AssessBenefits11  \\\n",
       "Respondent                                                        \n",
       "88332                   9.0               2.0               5.0   \n",
       "73466                   2.0               5.0               4.0   \n",
       "71383                   3.0              10.0               6.0   \n",
       "86250                  10.0               7.0               3.0   \n",
       "72634                   9.0               8.0               3.0   \n",
       "40002                   5.0               8.0               7.0   \n",
       "75666                   1.0               7.0               8.0   \n",
       "34563                   9.0               6.0               4.0   \n",
       "55950                   8.0               9.0               5.0   \n",
       "54850                  10.0               8.0               6.0   \n",
       "\n",
       "            JobContactPriorities1  JobContactPriorities2  \\\n",
       "Respondent                                                 \n",
       "88332                         2.0                    1.0   \n",
       "73466                         4.0                    1.0   \n",
       "71383                         NaN                    NaN   \n",
       "86250                         3.0                    1.0   \n",
       "72634                         2.0                    1.0   \n",
       "40002                         4.0                    1.0   \n",
       "75666                         3.0                    1.0   \n",
       "34563                         4.0                    1.0   \n",
       "55950                         4.0                    1.0   \n",
       "54850                         3.0                    2.0   \n",
       "\n",
       "            JobContactPriorities3  JobContactPriorities4  \\\n",
       "Respondent                                                 \n",
       "88332                         5.0                    3.0   \n",
       "73466                         5.0                    2.0   \n",
       "71383                         NaN                    NaN   \n",
       "86250                         4.0                    5.0   \n",
       "72634                         3.0                    5.0   \n",
       "40002                         5.0                    2.0   \n",
       "75666                         2.0                    4.0   \n",
       "34563                         5.0                    3.0   \n",
       "55950                         2.0                    3.0   \n",
       "54850                         4.0                    5.0   \n",
       "\n",
       "            JobContactPriorities5  ...  AdsPriorities2  AdsPriorities3  \\\n",
       "Respondent                         ...                                   \n",
       "88332                         4.0  ...             5.0             1.0   \n",
       "73466                         3.0  ...             NaN             NaN   \n",
       "71383                         NaN  ...             NaN             NaN   \n",
       "86250                         2.0  ...             NaN             NaN   \n",
       "72634                         4.0  ...             NaN             NaN   \n",
       "40002                         3.0  ...             3.0             4.0   \n",
       "75666                         5.0  ...             4.0             3.0   \n",
       "34563                         2.0  ...             2.0             5.0   \n",
       "55950                         5.0  ...             2.0             5.0   \n",
       "54850                         1.0  ...             NaN             NaN   \n",
       "\n",
       "            AdsPriorities4  AdsPriorities5  AdsPriorities6  AdsPriorities7  \\\n",
       "Respondent                                                                   \n",
       "88332                  4.0             6.0             2.0             3.0   \n",
       "73466                  NaN             NaN             NaN             NaN   \n",
       "71383                  NaN             NaN             NaN             NaN   \n",
       "86250                  NaN             NaN             NaN             NaN   \n",
       "72634                  NaN             NaN             NaN             NaN   \n",
       "40002                  2.0             7.0             5.0             6.0   \n",
       "75666                  5.0             1.0             7.0             6.0   \n",
       "34563                  1.0             7.0             6.0             3.0   \n",
       "55950                  1.0             7.0             6.0             3.0   \n",
       "54850                  NaN             NaN             NaN             NaN   \n",
       "\n",
       "                                                  AIDangerous  \\\n",
       "Respondent                                                      \n",
       "88332       Evolving definitions of \"fairness\" in algorith...   \n",
       "73466                   Algorithms making important decisions   \n",
       "71383       Artificial intelligence surpassing human intel...   \n",
       "86250       Artificial intelligence surpassing human intel...   \n",
       "72634                                                     NaN   \n",
       "40002       Artificial intelligence surpassing human intel...   \n",
       "75666                           Increasing automation of jobs   \n",
       "34563       Evolving definitions of \"fairness\" in algorith...   \n",
       "55950                   Algorithms making important decisions   \n",
       "54850                                                     NaN   \n",
       "\n",
       "                                    AIInteresting  \\\n",
       "Respondent                                          \n",
       "88332               Increasing automation of jobs   \n",
       "73466                                         NaN   \n",
       "71383       Algorithms making important decisions   \n",
       "86250               Increasing automation of jobs   \n",
       "72634                                         NaN   \n",
       "40002       Algorithms making important decisions   \n",
       "75666       Algorithms making important decisions   \n",
       "34563               Increasing automation of jobs   \n",
       "55950               Increasing automation of jobs   \n",
       "54850                                         NaN   \n",
       "\n",
       "                                           AIResponsible  \\\n",
       "Respondent                                                 \n",
       "88332            A governmental or other regulatory body   \n",
       "73466                                             Nobody   \n",
       "71383            A governmental or other regulatory body   \n",
       "86250       The developers or the people creating the AI   \n",
       "72634                                                NaN   \n",
       "40002       The developers or the people creating the AI   \n",
       "75666       The developers or the people creating the AI   \n",
       "34563            A governmental or other regulatory body   \n",
       "55950            A governmental or other regulatory body   \n",
       "54850                                                NaN   \n",
       "\n",
       "                                                     AIFuture  \\\n",
       "Respondent                                                      \n",
       "88332       I'm excited about the possibilities more than ...   \n",
       "73466       I'm worried about the dangers more than I'm ex...   \n",
       "71383       I'm excited about the possibilities more than ...   \n",
       "86250       I'm excited about the possibilities more than ...   \n",
       "72634                                                     NaN   \n",
       "40002       I'm excited about the possibilities more than ...   \n",
       "75666       I'm worried about the dangers more than I'm ex...   \n",
       "34563       I'm excited about the possibilities more than ...   \n",
       "55950       I'm worried about the dangers more than I'm ex...   \n",
       "54850                                                     NaN   \n",
       "\n",
       "                     EthicsChoice                      EthicsReport  \\\n",
       "Respondent                                                            \n",
       "88332       Depends on what it is             Depends on what it is   \n",
       "73466                          No             Depends on what it is   \n",
       "71383                         Yes             Depends on what it is   \n",
       "86250                          No                 Yes, and publicly   \n",
       "72634                         NaN                               NaN   \n",
       "40002                          No  Yes, but only within the company   \n",
       "75666                          No             Depends on what it is   \n",
       "34563                          No             Depends on what it is   \n",
       "55950                          No             Depends on what it is   \n",
       "54850                         NaN                               NaN   \n",
       "\n",
       "                                       EthicsResponsible  \\\n",
       "Respondent                                                 \n",
       "88332       Upper management at the company/organization   \n",
       "73466               The person who came up with the idea   \n",
       "71383               The person who came up with the idea   \n",
       "86250       Upper management at the company/organization   \n",
       "72634                                                NaN   \n",
       "40002       Upper management at the company/organization   \n",
       "75666       Upper management at the company/organization   \n",
       "34563       Upper management at the company/organization   \n",
       "55950       Upper management at the company/organization   \n",
       "54850                                                NaN   \n",
       "\n",
       "              EthicalImplications StackOverflowRecommend  \\\n",
       "Respondent                                                 \n",
       "88332                         Yes       10 (Very Likely)   \n",
       "73466                         Yes                      3   \n",
       "71383       Unsure / I don't know       10 (Very Likely)   \n",
       "86250                         Yes       10 (Very Likely)   \n",
       "72634                         NaN       10 (Very Likely)   \n",
       "40002       Unsure / I don't know       10 (Very Likely)   \n",
       "75666                         Yes       10 (Very Likely)   \n",
       "34563       Unsure / I don't know       10 (Very Likely)   \n",
       "55950                         Yes                      6   \n",
       "54850                         NaN                      9   \n",
       "\n",
       "                         StackOverflowVisit StackOverflowHasAccount  \\\n",
       "Respondent                                                            \n",
       "88332                Multiple times per day                     Yes   \n",
       "73466                  A few times per week                     Yes   \n",
       "71383                Multiple times per day                     Yes   \n",
       "86250                 Daily or almost daily                     Yes   \n",
       "72634                 Daily or almost daily                     Yes   \n",
       "40002                 Daily or almost daily                     Yes   \n",
       "75666                  A few times per week                     Yes   \n",
       "34563                 Daily or almost daily                     Yes   \n",
       "55950       A few times per month or weekly                     Yes   \n",
       "54850                 Daily or almost daily                     Yes   \n",
       "\n",
       "                                     StackOverflowParticipate  \\\n",
       "Respondent                                                      \n",
       "88332                     Less than once per month or monthly   \n",
       "73466                                    A few times per week   \n",
       "71383                         A few times per month or weekly   \n",
       "86250       I have never participated in Q&A on Stack Over...   \n",
       "72634       I have never participated in Q&A on Stack Over...   \n",
       "40002                     Less than once per month or monthly   \n",
       "75666                     Less than once per month or monthly   \n",
       "34563                         A few times per month or weekly   \n",
       "55950                     Less than once per month or monthly   \n",
       "54850       I have never participated in Q&A on Stack Over...   \n",
       "\n",
       "                                            StackOverflowJobs  \\\n",
       "Respondent                                                      \n",
       "88332       No, I didn't know that Stack Overflow had a jo...   \n",
       "73466       No, I knew that Stack Overflow had a jobs boar...   \n",
       "71383                                                     Yes   \n",
       "86250       No, I didn't know that Stack Overflow had a jo...   \n",
       "72634       No, I didn't know that Stack Overflow had a jo...   \n",
       "40002                                                     Yes   \n",
       "75666                                                     Yes   \n",
       "34563                                                     Yes   \n",
       "55950                                                     Yes   \n",
       "54850       No, I didn't know that Stack Overflow had a jo...   \n",
       "\n",
       "                                 StackOverflowDevStory  \\\n",
       "Respondent                                               \n",
       "88332                No, and I don't know what that is   \n",
       "73466       No, I know what it is but I don't have one   \n",
       "71383              No, I have one but it's out of date   \n",
       "86250                No, and I don't know what that is   \n",
       "72634                No, and I don't know what that is   \n",
       "40002       No, I know what it is but I don't have one   \n",
       "75666              No, I have one but it's out of date   \n",
       "34563                                              Yes   \n",
       "55950              No, I have one but it's out of date   \n",
       "54850                No, and I don't know what that is   \n",
       "\n",
       "           StackOverflowJobsRecommend StackOverflowConsiderMember  \\\n",
       "Respondent                                                          \n",
       "88332                             NaN                         Yes   \n",
       "73466                             NaN                I'm not sure   \n",
       "71383                10 (Very Likely)                         Yes   \n",
       "86250                             NaN                         Yes   \n",
       "72634                             NaN                I'm not sure   \n",
       "40002                10 (Very Likely)                         Yes   \n",
       "75666                10 (Very Likely)                         Yes   \n",
       "34563                               6                         Yes   \n",
       "55950                               7                I'm not sure   \n",
       "54850                             NaN                         Yes   \n",
       "\n",
       "                 HypotheticalTools1       HypotheticalTools2  \\\n",
       "Respondent                                                     \n",
       "88332           Somewhat interested     Extremely interested   \n",
       "73466       A little bit interested  A little bit interested   \n",
       "71383       A little bit interested      Somewhat interested   \n",
       "86250               Very interested          Very interested   \n",
       "72634           Somewhat interested  A little bit interested   \n",
       "40002       A little bit interested    Not at all interested   \n",
       "75666           Somewhat interested  A little bit interested   \n",
       "34563               Very interested    Not at all interested   \n",
       "55950               Very interested     Extremely interested   \n",
       "54850               Very interested          Very interested   \n",
       "\n",
       "                 HypotheticalTools3       HypotheticalTools4  \\\n",
       "Respondent                                                     \n",
       "88332               Very interested          Very interested   \n",
       "73466       A little bit interested  A little bit interested   \n",
       "71383           Somewhat interested      Somewhat interested   \n",
       "86250               Very interested          Very interested   \n",
       "72634          Extremely interested          Very interested   \n",
       "40002               Very interested    Not at all interested   \n",
       "75666           Somewhat interested          Very interested   \n",
       "34563       A little bit interested      Somewhat interested   \n",
       "55950           Somewhat interested     Extremely interested   \n",
       "54850               Very interested    Not at all interested   \n",
       "\n",
       "                 HypotheticalTools5                      WakeTime  \\\n",
       "Respondent                                                          \n",
       "88332               Very interested        Between 8:01 - 9:00 AM   \n",
       "73466       A little bit interested  I do not have a set schedule   \n",
       "71383               Very interested        Between 7:01 - 8:00 AM   \n",
       "86250               Very interested        Between 6:01 - 7:00 AM   \n",
       "72634               Very interested        Between 6:01 - 7:00 AM   \n",
       "40002       A little bit interested        Between 7:01 - 8:00 AM   \n",
       "75666           Somewhat interested       Between 9:01 - 10:00 AM   \n",
       "34563               Very interested        Between 7:01 - 8:00 AM   \n",
       "55950          Extremely interested        Between 8:01 - 9:00 AM   \n",
       "54850               Very interested        Between 7:01 - 8:00 AM   \n",
       "\n",
       "           HoursComputer     HoursOutside                  SkipMeals  \\\n",
       "Respondent                                                             \n",
       "88332        5 - 8 hours  30 - 59 minutes                      Never   \n",
       "73466       9 - 12 hours      3 - 4 hours       3 - 4 times per week   \n",
       "71383       9 - 12 hours      1 - 2 hours       1 - 2 times per week   \n",
       "86250        5 - 8 hours      1 - 2 hours  Daily or almost every day   \n",
       "72634        5 - 8 hours      3 - 4 hours       1 - 2 times per week   \n",
       "40002        5 - 8 hours     Over 4 hours                      Never   \n",
       "75666        5 - 8 hours      3 - 4 hours       1 - 2 times per week   \n",
       "34563       9 - 12 hours      1 - 2 hours                      Never   \n",
       "55950        5 - 8 hours      1 - 2 hours                      Never   \n",
       "54850        5 - 8 hours      1 - 2 hours                      Never   \n",
       "\n",
       "                                             ErgonomicDevices  \\\n",
       "Respondent                                                      \n",
       "88332       Fatigue-relieving floor mat;Ergonomic keyboard...   \n",
       "73466                             Fatigue-relieving floor mat   \n",
       "71383               Standing desk;Fatigue-relieving floor mat   \n",
       "86250               Standing desk;Fatigue-relieving floor mat   \n",
       "72634                             Ergonomic keyboard or mouse   \n",
       "40002                             Ergonomic keyboard or mouse   \n",
       "75666                                           Standing desk   \n",
       "34563                                                     NaN   \n",
       "55950                                                     NaN   \n",
       "54850                                           Standing desk   \n",
       "\n",
       "                              Exercise Gender         SexualOrientation  \\\n",
       "Respondent                                                                \n",
       "88332       I don't typically exercise   Male                       NaN   \n",
       "73466             1 - 2 times per week   Male  Straight or heterosexual   \n",
       "71383       I don't typically exercise   Male  Straight or heterosexual   \n",
       "86250             1 - 2 times per week   Male                       NaN   \n",
       "72634             1 - 2 times per week    NaN                       NaN   \n",
       "40002       I don't typically exercise   Male  Straight or heterosexual   \n",
       "75666        Daily or almost every day   Male  Straight or heterosexual   \n",
       "34563       I don't typically exercise   Male  Straight or heterosexual   \n",
       "55950       I don't typically exercise   Male  Straight or heterosexual   \n",
       "54850             3 - 4 times per week   Male                       NaN   \n",
       "\n",
       "                                             EducationParents  \\\n",
       "Respondent                                                      \n",
       "88332                Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "73466               Other doctoral degree (Ph.D, Ed.D., etc.)   \n",
       "71383                                        Associate degree   \n",
       "86250             Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "72634                                                     NaN   \n",
       "40002                Bachelor’s degree (BA, BS, B.Eng., etc.)   \n",
       "75666       Some college/university study without earning ...   \n",
       "34563       Secondary school (e.g. American high school, G...   \n",
       "55950             Master’s degree (MA, MS, M.Eng., MBA, etc.)   \n",
       "54850                      Professional degree (JD, MD, etc.)   \n",
       "\n",
       "                           RaceEthnicity                Age Dependents  \\\n",
       "Respondent                                                               \n",
       "88332                         East Asian  25 - 34 years old        Yes   \n",
       "73466       White or of European descent  45 - 54 years old        NaN   \n",
       "71383                                NaN                NaN        NaN   \n",
       "86250       White or of European descent  25 - 34 years old         No   \n",
       "72634                                NaN                NaN        NaN   \n",
       "40002                     Middle Eastern  18 - 24 years old         No   \n",
       "75666       White or of European descent  35 - 44 years old        Yes   \n",
       "34563       White or of European descent  25 - 34 years old         No   \n",
       "55950       White or of European descent  18 - 24 years old         No   \n",
       "54850       White or of European descent  25 - 34 years old        Yes   \n",
       "\n",
       "           MilitaryUS                         SurveyTooLong  \\\n",
       "Respondent                                                    \n",
       "88332             NaN               The survey was too long   \n",
       "73466             NaN               The survey was too long   \n",
       "71383             NaN  The survey was an appropriate length   \n",
       "86250             NaN  The survey was an appropriate length   \n",
       "72634             NaN                                   NaN   \n",
       "40002             NaN               The survey was too long   \n",
       "75666             NaN               The survey was too long   \n",
       "34563             NaN  The survey was an appropriate length   \n",
       "55950             NaN  The survey was an appropriate length   \n",
       "54850             NaN               The survey was too long   \n",
       "\n",
       "                            SurveyEasy  \n",
       "Respondent                              \n",
       "88332       Neither easy nor difficult  \n",
       "73466       Neither easy nor difficult  \n",
       "71383                        Very easy  \n",
       "86250                    Somewhat easy  \n",
       "72634                              NaN  \n",
       "40002                    Somewhat easy  \n",
       "75666                        Very easy  \n",
       "34563                    Somewhat easy  \n",
       "55950                    Somewhat easy  \n",
       "54850                    Somewhat easy  \n",
       "\n",
       "[10 rows x 128 columns]"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.nlargest(10,'AssessBenefits7')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Respondent\n",
       "90460    1.0\n",
       "1029     1.0\n",
       "5842     1.0\n",
       "914      1.0\n",
       "63797    1.0\n",
       "10214    1.0\n",
       "51485    1.0\n",
       "47591    1.0\n",
       "80873    1.0\n",
       "35530    1.0\n",
       "Name: AssessBenefits7, dtype: float64"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['AssessBenefits7'].nsmallest(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
